<div class="group">
    <h2><?php echo $group_name ?></h2>
    <div class="group_container">
        <?php foreach($fields as $field_name): ?>
            <?php include_partial('field_row', array('form' => $form, 'field_name' => $field_name)) ?>
        <?php endforeach ?>
    </div>
</div>